.indicator {
  height: 30px;
  margin-top: -29px;
  font-size: 12px;
  line-height: 12px;

  position: fixed;
  background: #1677ff;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 6px;

  svg {
    fill: #fff;
    width: 15px;
    height: 15px;
  }

  h2 {
    flex: 1 1 0%;
    margin: 0;
    margin-right: 6px;

    font-size: 12px;
    color: white;
  }

  .btn {
    padding: 0 0px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    > div {
      position: relative;
      top: -50%;
      left: -50%;
    }
  }
}

:global {
  .component-selected {
    position: relative;
    &::after {
      content: ' ';
      border: 1px dashed #1677ff;
      position: absolute;
      display: block;
      top: -3px;
      left: -3px;
      width: calc(100% + 6px);
      height: calc(100% + 6px);
      pointer-events: none;
      box-sizing: border-box;
    }
  }
}
